<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>        
        <title></title>
        <meta http-equiv="content-type" content="text/htm;charset=utf-8"/>
        {css file="__PUBLIC__/css/acommon.css" /}
        {jquery/}
        <script>
            $(function(){
                $('tr').mouseover(function(){
                    $(this).css('background-color','#f6f6f6');
                }).mouseout(function(){
                    $(this).css('background-color','#fff');
                });
            });
        </script>
</head>
<body>
<ul class="top_title">
    <li>
        <p class="menu_title">数据库管理</p>
    </li>
    <li>|</li>
    <li>
        <a class="menu_title_a" >
            &nbsp;数据库还原
        </a>
    </li>
</ul>
    <table class="table">
        <thead>
            <tr class="top_channel">
                <th align="left" style="padding-left:35px;" width="26%">备份日期</th>
                <th align="center">操作</th>
            </tr>
        </thead>
        <tbody>
        {foreach from="$tree" value="$v"}
            <tr class="top_channel">
                <td align="left" style="padding-left:25px;">
                    <strong index="{$i}" style="font-weight: lighter;cursor: pointer;color: #3A66B0;">
                        &nbsp;{$v.name|date:"y-m-d h:i:s",@@}
                    </strong>
                </td>
                <td align="center">
                    <a href="{|U('recovery','dir='.$v['name']}" class="btn edit">
                        <i class="icon icon-edit"></i>&nbsp;还原
                    </a>&nbsp;
                    <a href="{|U('del')}" class="isok btn del">
                        <i class="icon icon-trash"></i>&nbsp;删除
                    </a>
                </td>
            </tr>
        {/foreach}
            <tr class="top_channel">
                <td></td>
                <td align="center">
                </td>
                <td colspan="2"></td>
            </tr>
        </tbody>
    </table>
</body>
</html>